<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
    <script src="./lib/axios.js"></script>
</head>
<body>

</body>
<script type="module">
	import axios from "./index.js";
	axios("http://zhangpeiyue.com/scoreList",{
        params:{
            age:12,
            sex:"男"
        },
		headers:{
			token:"abcdefg"
        }
    })
    axios({
        url:"http://zhangpeiyue.com/scoreList",
        params:{
            age:12,
            sex:"男"
        },
        headers:{
			token:"abcdefg"
        }
    })
</script>
</html>